package com.ruoyi.web.core.config;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class SwaggerMapObject {

    public static Map<String, List<SwaggerMapColum>> swaggerMap = new ConcurrentHashMap<>();

    static {
        SwaggerMap.init();
    }

    public SwaggerMapObject(String modleName, SwaggerMapColum... swaggerMapObj) {
        List<SwaggerMapColum> list = new ArrayList<>();
        for (int i = 0; i < swaggerMapObj.length; i++) {
            list.add(swaggerMapObj[i]);
        }
        swaggerMap.put(modleName,list);
    }
}
